package com.gg.ai.service.impl;

import com.gg.ai.mapper.UserMapper;
import com.gg.ai.pojo.User;
import com.gg.ai.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    UserMapper userMapper;

    @Override
    public User queryOne(Integer id) {
        return userMapper.selectById(id);
    }
}
